package com.itcam.cm.manager;

import com.itcam.cm.common.anno.EnableGlobaleExceptionHandler;
import com.itcam.cm.common.exception.GlobalExceptionHandler;
import com.itcam.cm.common.log.annotation.EnableLogAspect;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan(basePackages = "com.itcam.cm.manager.mapper")
//@Import(GlobalExceptionHandler.class)
//@ComponentScan
@EnableGlobaleExceptionHandler
@EnableConfigurationProperties
@EnableScheduling
@EnableLogAspect
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }
}